﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace weba
{
    public partial class houtai : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["User_ID"] == null)
            {
              //  Response.Redirect("denglu.aspx");
                Response.Write(" <script language=javascript > parent.document.location= 'denglu.aspx ' </script> ");
                Response.End();
               }
            else
            {
                if (Session["User_ID"].ToString().Trim().ToLower() != "admin")
                {
                    Response.Redirect("denglu.aspx");
                }
                else
                {
                    mk.Alert("欢迎登陆后台,您现在是管理员"+Session["User_ID"].ToString()+"身份");
                }
            }
        }
    }
}